package com.me.bbs.common;

import java.time.Instant;
import java.time.LocalDateTime;
import java.time.ZoneId;

/**
 * @author Liming Wang
 * @Description
 * @Create 2023/1/24 21:12
 */
public class TimeUtils {
    public static LocalDateTime timestampToTime(Long t) {
       return LocalDateTime.ofInstant(Instant.ofEpochMilli(t), ZoneId.systemDefault());
    }
}
